//
//  WebHeaderView.m
//  GiftItems
//
//  Created by lanou3g on 15/9/24.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "WebHeaderView.h"

@implementation WebHeaderView


- (instancetype)initWithFrame:(CGRect)frame {
    
    self= [super initWithFrame:frame];
    if (self) {
        // 标题
        self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake((kWidth - 100) / 2, 20, 100, 30)];
        self.titleLabel.text = @"攻略详情";
        self.titleLabel.textAlignment = NSTextAlignmentCenter;
        [self addSubview:self.titleLabel];
        // 返回按钮
//        self.backButton = [UIButton buttonWithType:(UIButtonTypeCustom)];
//        self.backButton.frame = CGRectMake(0, 10, 54, 54);
//        [self.backButton setBackgroundImage:[UIImage imageNamed:@"Entypo_e764(1)_64"] forState:(UIControlStateNormal)];
//        [self addSubview:self.backButton];
    }
    return self;
    
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
